<?php
  mysql_close();
  $smarty->assign("s_activId",isset($_SESSION['s_activId'.$cfgPack])   ? $_SESSION['s_activId'.$cfgPack]  : "");
  $smarty->assign("s_activeUserId",isset($_SESSION['s_activeUserId'.$cfgPack])   ? $_SESSION['s_activeUserId'.$cfgPack]  : "");
  $smarty->assign("s_userType",isset($_SESSION['s_userType'.$cfgPack]) ? $_SESSION['s_userType'.$cfgPack] : "");
?>